FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER kaiwotech@gmail.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /config-server

WORKDIR /config-server

EXPOSE 8001

ADD ./config-server/target/config-server.jar ./


CMD sleep 20;java -Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom -jar config-server.jar


